<?php echo form_open($this->curl . '/edit/'.$this->validation->id, 'id="create_form"')?>
<?php echo form_hidden('id', $this->validation->id)?>

<?php echo $this->validation->error_string?>
<br />
<table class="nostyle forma" width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
	<th style="width: 180px;"><?php $this->load->view('_elements/obligatory');?><?php echo $this->geo_country_model->fields['name']?>:</th>
	<td><div class="input_300"><?php echo form_input('name', $this->validation->name, 'class="input-text" size="50"')?></div></td>
</tr>
<tr>
	<th><?php $this->load->view('_elements/obligatory');?><?php echo $this->geo_country_model->fields['iso_nr']?>:</th>
	<td><div class="input_300"><?php echo form_input('iso_nr', $this->validation->iso_nr, 'class="input-text"')?></div></td>
</tr>
<tr>
	<th><?php echo $this->geo_country_model->fields['alpha2']?>:</th>
	<td><div class="input_300"><?php echo form_input('alpha2', $this->validation->alpha2, 'class="input-text"')?></div></td>
</tr>
<tr>
	<th><?php echo $this->geo_country_model->fields['alpha3']?>:</th>
	<td><div class="input_300"><?php echo form_input('alpha3', $this->validation->alpha3, 'class="input-text"')?></div></td>
</tr>
<tr>
	<td colspan="2">&nbsp;</td>
</tr>
<tr>
	<td></td>
	<td>			
		<input name="edit"   type="submit" class="btn btn_save" id="submit" value="<?php echo T_('Submit')?>" />
		<input name="reset"  type="reset"  class="btn btn_clear" id="reset"  value="<?php echo T_('Reset')?>"  onclick="$('#create_form input[type=text]').val('');" />				
		<input name="delete" type="button" class="btn btn_delete" id="delete" value="<?php echo T_('Delete')?>" onclick="if (confirm('<?php echo T_('Are you sure you want to delete this Country and all States in it?')?>')) location='/admin/<?php echo $this->curl; ?>/delete/<?php echo $this->validation->id?>';return false;" />
	</td>
</tr>
</table>

<?php echo form_close()?>